package com.hk.webapp.dao;

import com.hk.webapp.bean.SysRoleAction;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;
import java.util.List;

public interface SysRoleActionMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SysRoleAction record);

    int insertSelective(SysRoleAction record);

    SysRoleAction selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SysRoleAction record);

    int updateByPrimaryKey(SysRoleAction record);

    ArrayList<SysRoleAction> getEntityListByRoleId(Integer roleId);

    int deleteByRoleIds(@Param("ids") List<Integer> ids);

    List<SysRoleAction> getEntityListByRoleIds(@Param("roleIds") List<Integer> roleIds);
}